package com.atguigu.lease.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;


@Data
@TableName("user")
public class User {

    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    @TableField("name")
    private String name;

    @TableField("age")
    private Integer age;

    @TableField("email")
    private String email;

    @TableField(value = "weight", exist = false)
    private String weight;

    @TableField("is_deleted")
    @TableLogic()
    private int deleted;
}
